package com.wander.designBehavioral.template;

/**
 * @Author : WDYin
 * @Date : 2020/12/9
 * @Desc :
 */
public class MysqlTemplate extends Template {
    @Override
    void register() {
        System.out.println("Mysql 注册驱动");
    }

    @Override
    void connect() {
        System.out.println("Mysql 获取连接");
    }

    @Override
    void sql() {
        System.out.println("Mysql 准备sql");
    }

    @Override
    void query() {
        System.out.println("Mysql 执行sql");
    }
}
